/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Ventas;
import java.util.Date;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Venta {
    
    @PrimaryKey
    @Persistent
    private String correo;
    @Persistent
    private Date date;
    @Persistent
    private String total;

    public Venta(String correo, Date date, String total) {
        this.correo = correo;
        this.date = date;
        this.total = total;
    }
    public Venta()
    {}

    /**
     * @return the correo
     */
    public String getCorreo() {
        return correo;
    }

    /**
     * @param correo the correo to set
     */
    public void setCorreo(String correo) {
        this.correo = correo;
    }

    /**
     * @return the date
     */
    public Date getDate() {
        return date;
    }

    /**
     * @param date the date to set
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * @return the total
     */
    public String getTotal() {
        return total;
    }

    /**
     * @param total the total to set
     */
    public void setTotal(String total) {
        this.total = total;
    }
    /**
     * @return the correo
     */
    
}
